//
//  DetailSkuSelectShowModel.m
//  ABSallRec
//
//  Created by 我演示 on 2019/11/11.
//  Copyright © 2019 Jerry-Fu. All rights reserved.
//

#import "DetailSkuSelectShowModel.h"
#import "MJExtension.h"

//适配屏幕宽高比
#define WidthRatio ScreenWidth/375.00

@implementation DetailSkuSelectShowModel

-(void)setPropertyName:(NSString *)propertyName {
    
    _propertyName = propertyName ;
   /// 计算文字的宽度信息
    self.itemWidth = ceil((self.propertyName.length + 2)*(15.0f*WidthRatio));
    
}

+ (NSDictionary *)mj_replacedKeyFromPropertyName {
    

    
    return@{@"propertyName":@"property"};
}




/** + (NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{@"ID": @"id"};
}*/
@end
